package com.briup.bms.service;

import com.briup.bms.bean.SCustomer;
import com.github.pagehelper.PageInfo;

import java.util.Set;

/**
 * @author: Paocha
 * @date: 2021-11-23-14:42
 */
public interface SCustomerService {
    PageInfo<SCustomer> findByConditon(int pageNum, int pageSize, String name);

    PageInfo<SCustomer> findByPageHelper(int pageNum, int pageSize);

    void saveOrUpdate(SCustomer customer);

    void batchDeleteCustomer(Set<Integer> customerIds);

    void deleteCustomer(Integer customerId);
}
